package com.mx.prueba;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.mx.dao.Concursante;

public class Prueba 
{
	private static Concursante concursante;

	public static void main(String[] args) 
	{
		ApplicationContext ctx = new ClassPathXmlApplicationContext (
				"applicationContext.xml");
		concursante = (Concursante) ctx.getBean("malavarista");
		concursante.accion();

	}

}
